module.exports.islogin = function(req,res,next){
	if(req.query.name == 'chong'){
		console.log('登陆成功');
		next();
	}else{
		console.log('登陆失败');
		res.redirect('/users');
	}
}